<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'micro-blog-form',
	'enableAjaxValidation'=>true,
)); ?>
	<div class="row">
	<?php echo $form->textArea($model,'contents',array('rows'=>6, 'cols'=>50)); ?>
	</div>
	<div class="row buttons">
	<?php echo CHtml::submitButton('Create'); ?>
	</div>
	<?php $this->endWidget(); ?>

</div>
<!-- form -->
